package com.wyt;

import com.spring.WytApplicationContext;
import com.wyt.service.UserService;
import com.wyt.service.UserServiceImpl;

public class Entrance {
    public static void main(String[] args) throws Exception {
        WytApplicationContext wytApplicationContext = new WytApplicationContext(AppConfig.class);

        UserService userService = (UserService) wytApplicationContext.getBean("userService");

//        userService.test();

    }

}
